<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Clojure documentation browser</title><style>
.library
{
  padding: 0.5em 0 0 0 
}
.all-libs-toggle,.library-contents-toggle
{
 font-size: small;
}
.all-libs-toggle a,.library-contents-toggle a
{
 color: white
}
.library-member-doc-whitespace
{
 white-space: pre
}
.library-member-source-toggle
{
  font-size: small;
  margin-top: 0.5em
}
.library-member-source
{
  display: none;
  border-left: solid lightblue 
}
.library-member-docs
{
  font-family:monospace
}
.library-member-arglists
{
  font-family: monospace
}
.library-member-type
{
  font-weight: bold; 
  font-size: small;
  font-style: italic;
  color: darkred
}
.lib-links
{
  margin: 0 0 1em 0
}

.lib-link-header
{
  color: white;
  background: darkgreen;
  width: 100%
}

.library-name 
{ 
  color: white;
  background: darkblue;
  width: 100%
}

.missing-library
{
  color: darkred; 
  margin: 0 0 1em 0 
}

.library-members
{
  list-style: none
}

.library-member-name
{
  font-weight: bold;
  font-size: 105%
}</style><script language="JavaScript" type="text/javascript"> // <![CDATA[

function getElem(id)
{
  if( document.getElementById )
  {
    return document.getElementById( id )
  }
  else if ( document.all )
  {
    return eval( 'document.all.' + id )
  }
  else
    return false;
}

function setDisplayStyle(id,displayStyle)
{
  var elem = getElem (id)
  if (elem)
  {
    elem.style.display = displayStyle
  }

}

function setLinkToggleText (id, text)
{
 var elem = getElem (id)
 if (elem)
 {
   elem.innerHTML = text
 }
}

function collapse(id)
{
  setDisplayStyle (id, 'none')
}

function expand (id)
{
  setDisplayStyle (id, 'block')
}

function toggleSource( id )
{
  toggle(id, 'linkto-' + id, 'Hide Source', 'Show Source')
}

function toggle(targetid, linkid, textWhenOpen, textWhenClosed)
{
  var elem = getElem (targetid)
  var link = getElem (linkid)

  if (elem && link)
  {
    var isOpen = false
    if (elem.style.display == '')
    {
      isOpen = link.innerHTML == textWhenOpen
    }
    else if( elem.style.display == 'block' )
    {
      isOpen = true
    }
    
    if (isOpen)
    {
      elem.style.display = 'none'
      link.innerHTML = textWhenClosed
    }
    else
    {
      elem.style.display = 'block'
      link.innerHTML = textWhenOpen
    }
  }
}

      //]]>
</script><script language="JavaScript" type="text/javascript">// <![CDATA[!
function expandAllNamespaces()
{
expand(&apos;library-contents-client.UrlyBird&apos;);
setLinkToggleText(&apos;library-contents-toggle-client.UrlyBird&apos;, &apos;-&apos;);

}function collapseAllNamespaces()
{
collapse(&apos;library-contents-client.UrlyBird&apos;);
setLinkToggleText(&apos;library-contents-toggle-client.UrlyBird&apos;, &apos;+&apos;);

}
// ]]></script></head><body><div class="lib-links"><div class="lib-link-header">Namespaces<span class="all-libs-toggle"> [ <a href="javascript:expandAllNamespaces()">Expand All</a> ] [ <a href="javascript:collapseAllNamespaces()">Collapse All</a> ]</span></div><a class="lib-link" href="#library-client.UrlyBird">client.UrlyBird</a></div><div class="library"><a name="library-client.UrlyBird"/><div class="library-name"><span class="library-contents-toggle">[ <a id="library-contents-toggle-client.UrlyBird" href="javascript:toggle(&apos;library-contents-client.UrlyBird&apos;, &apos;library-contents-toggle-client.UrlyBird&apos;, &apos;-&apos;, &apos;+&apos;)">-</a> ] </span>client.UrlyBird</div><div class="library-contents" id="library-contents-client.UrlyBird"><div class="library-member-links"><a class="lib-member-link" href="#member-client.UrlyBird--main">-main</a></div><ol class="library-members"><li class="library-member"><a name="member-client.UrlyBird--main"/><dl class="library-member-table"><dt class="library-member-name">-main</dt><dd><div class="library-member-info"><span class="library-member-type">fn</span> <span class="library-member-arglists">([] [mode] [mode port] [mode host port])</span></div><div class="library-member-docs"><div class="library-member-doc-line">lets the program starts, either as a standalone client, network client or server</div></div><div class="library-member-source-section"><div class="library-member-source-toggle">[ <a href="javascript:toggleSource(&apos;membersource-client.UrlyBird--main&apos;)" id="linkto-membersource-client.UrlyBird--main">Show Source</a> ]</div><div class="library-member-source" id="membersource-client.UrlyBird--main"><pre>(defn -main
  &quot;lets the program starts, either as a standalone client, network client or server&quot;
 ([]
    (println &quot;You need to tell parameters, either --server port, --client host port or --alone&quot;))
 ([mode]
    (if (.equals mode &quot;--alone&quot;)
      (client-start &quot;alone&quot;)
      (println &quot;You need to tell the correct parameters, either --server port, --client host port or --alone&quot;)))
 ([mode port]
    (if (.equals mode &quot;--server&quot;)
      (server-start  (Integer/parseInt port))
      (println &quot;You need to tell the correct parameters, ether --server port, --client host port or --alone&quot;)))
 ([mode host port]
    (if (.equals mode &quot;--client&quot;)
      (client-start &quot;net&quot; host  (Integer/parseInt port))
      (println &quot;You need to tell the correct parameters, ether --server port, --client host port or --alone&quot;))))</pre></div></div></dd></dl></li></ol></div></div></body></html>